Optimal. Leaf size=23 \[ \sqrt{5} \tan ^{-1}\left (\frac{x}{\sqrt{5}}\right )-2 \tan ^{-1}\left (\frac{x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0124621, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {1130, 203} \[ \sqrt{5} \tan ^{-1}\left (\frac{x}{\sqrt{5}}\right )-2 \tan ^{-1}\left (\frac{x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1130
Rule 203
Rubi steps
\begin{align*} \int \frac{x^2}{20+9 x^2+x^4} \, dx &=-\left (4 \int \frac{1}{4+x^2} \, dx\right )+5 \int \frac{1}{5+x^2} \, dx\\ &=-2 \tan ^{-1}\left (\frac{x}{2}\right )+\sqrt{5} \tan ^{-1}\left (\frac{x}{\sqrt{5}}\right )\\ \end{align*}
Mathematica [A] time = 0.0129906, size = 23, normalized size = 1. \[ \sqrt{5} \tan ^{-1}\left (\frac{x}{\sqrt{5}}\right )-2 \tan ^{-1}\left (\frac{x}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.049, size = 19, normalized size = 0.8 \begin{align*} -2\,\arctan \left ( x/2 \right ) +\arctan \left ({\frac{x\sqrt{5}}{5}} \right ) \sqrt{5} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.44195, size = 24, normalized size = 1.04 \begin{align*} \sqrt{5} \arctan \left (\frac{1}{5} \, \sqrt{5} x\right ) - 2 \, \arctan \left (\frac{1}{2} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.44118, size = 66, normalized size = 2.87 \begin{align*} \sqrt{5} \arctan \left (\frac{1}{5} \, \sqrt{5} x\right ) - 2 \, \arctan \left (\frac{1}{2} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.133676, size = 20, normalized size = 0.87 \begin{align*} - 2 \operatorname{atan}{\left (\frac{x}{2} \right )} + \sqrt{5} \operatorname{atan}{\left (\frac{\sqrt{5} x}{5} \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.23379, size = 24, normalized size = 1.04 \begin{align*} \sqrt{5} \arctan \left (\frac{1}{5} \, \sqrt{5} x\right ) - 2 \, \arctan \left (\frac{1}{2} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]